home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 38
/
038.d81
/
alphabet trainer
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-08-26
|
2KB
|
52 lines
1 gosub60100:clr
5 poke53280,.:poke53281,.
10 print"[147] alphabet trainer - r. s. stokan[158]"
15 print" press the above letter on the keyboard"
16 print" (press f1[158] to quit)":w=.
20 fora=65to90
30 gosub100:poke198,.
40 geta$:ifa$=""then40
42 ifa$="[133]"thengosub60050:poke198,.:goto40
45 ifa$<>chr$(a)thenw=w+1:poke53280,2:formm=1to10:next:poke53280,.:goto40
50 nexta
60 print"":forj=1to12:print:next
70 printtab(7);:fora=65to90:printchr$(a);:next
80 print"[154]"
90 print""
92 print" you mis-typed"w"letters."
94 print"press space to use this program again. "
96 print"press return to return to loadstar."
97 a=peek(203):ifa<>60anda<>1then97
98 ifa=60then5
99 goto60000
100 print"":forj=1to12
110 printtab(20);chr$(a);"[145]"
120 printtab(20);" ":next
130 printtab(20);chr$(a)
140 return
60000 open15,8,15,"r0:hello connect=hello connect":input#15,er:close15
60010 ifer<>63thenend
60020 load"hello connect",8
60050 print" [154]are you sure you want to quit? (y[154]/n[154])"
60060 z=peek(203):ifz<>25andz<>39then60060
60070 ifz=25then60000
60080 print" [158](press f1 [158]to quit) "
60090 return
60100 poke53280,7:poke53281,7
60110 printchr$(142)"[147][213][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][201]";
60120 fora=1to23:print"[221]"spc(38)"[221]";:next
60130 print"[202][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][203][157][148][192]"
60140 fora=217to242:pokea,peek(a)or128:next
60150 print" loadstar presents:"
60160 print" "
60170 print" alphabet trainer [129] "
60180 print" [129] "
60190 print" by r. s. stokan [129] "
60200 print" [129] "
60210 print" copyright 1987 [129] "
60220 print" [129] "
60230 print" "
60240 print" press space to continue"
60250 ifpeek(203)<>60then60250
60260 return